package com.demo.springboot.book;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class BookListener implements ServletContextListener {
    @Override
    public void contextInitialized(ServletContextEvent servletContextEvent) {
        System.out.println("=========Spring Boot Web应用启动=========");
    }

    @Override
    public void contextDestroyed(ServletContextEvent servletContextEvent) {

    }
}
